package com.xr.dao;


import com.xr.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


@Repository
@Mapper
public interface BookDao{

    @Select("select * from goods where id=#{id}")
    Goods findById(Integer id);

}
